<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>函数参考</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="features.dtrace.systemtap.html">« 使用 SystemTap 监控 PHP DTrace 静态探针</a></li>
      <li style="float: right;"><a href="refs.basic.php.html">影响 PHP 行为的扩展 »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    
    <li>函数参考</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="funcref" class="set">
  <h1 class="title">函数参考</h1>
  <div class="info">
   <div class="abstract">
    <p class="para">
     <div class="tip"><strong class="tip">小技巧</strong>
      <p class="simpara">
       参见 <a href="extensions.html" class="xref">扩展库列表／归类</a>.
      </p>
     </div>
    </p>
   </div>
  </div>

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  
 <ul class="chunklist chunklist_set"><li><a href="refs.basic.php.html">影响 PHP 行为的扩展</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="book.apcu.html">APCu</a> — APC 用户缓存</li><li><a href="book.componere.html">Componere</a></li><li><a href="book.errorfunc.html">错误处理</a> — 错误处理和日志记录</li><li><a href="book.ffi.html">FFI</a> — 外部函数接口</li><li><a href="book.opcache.html">OPcache</a></li><li><a href="book.outcontrol.html">Output Control</a> — 输出缓冲控制</li><li><a href="book.info.html">PHP 选项/信息</a> — PHP 选项和信息</li><li><a href="book.phpdbg.html">phpdbg</a> — Interactive PHP Debugger</li><li><a href="book.runkit7.html">runkit7</a></li><li><a href="book.uopz.html">uopz</a> — User Operations for Zend</li><li><a href="book.wincache.html">WinCache</a> — Windows Cache for PHP</li><li><a href="book.xhprof.html">Xhprof</a> — 层次式性能分析器</li><li><a href="book.yac.html">Yac</a></li></ul></li><li><a href="refs.utilspec.audio.html">音频格式操作</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="book.openal.html">OpenAL</a> — OpenAL Audio Bindings</li></ul></li><li><a href="refs.remote.auth.html">身份认证服务</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="book.radius.html">Radius</a></li></ul></li><li><a href="refs.utilspec.cmdline.html">针对命令行的扩展</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="book.readline.html">Readline</a> — GNU Readline</li></ul></li><li><a href="refs.compression.html">压缩与归档扩展</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="book.bzip2.html">Bzip2</a></li><li><a href="book.lzf.html">LZF</a></li><li><a href="book.phar.html">Phar</a></li><li><a href="book.rar.html">Rar</a> — Rar Archiving</li><li><a href="book.zip.html">Zip</a></li><li><a href="book.zlib.html">Zlib</a> — Zlib Compression</li></ul></li><li><a href="refs.crypto.html">加密扩展</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="book.hash.html">Hash</a> — 散列信息摘要框架</li><li><a href="book.mcrypt.html">Mcrypt</a></li><li><a href="book.mhash.html">Mhash</a></li><li><a href="book.openssl.html">OpenSSL</a></li><li><a href="book.password.html">密码散列算法</a></li><li><a href="book.rnp.html">Rnp</a></li><li><a href="book.sodium.html">Sodium</a></li></ul></li><li><a href="refs.database.html">数据库扩展</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="refs.database.abstract.html">数据库抽象层</a></li><li><a href="refs.database.vendors.html">针对各数据库系统对应的扩展</a></li></ul></li><li><a href="refs.calendar.html">日期与时间相关扩展</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="book.calendar.html">Calendar</a></li><li><a href="book.datetime.html">日期/时间</a> — 日期和时间</li><li><a href="book.hrtime.html">HRTime</a> — High resolution timing</li></ul></li><li><a href="refs.fileprocess.file.html">文件系统相关扩展</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="book.dio.html">Direct IO</a></li><li><a href="book.dir.html">目录</a></li><li><a href="book.fileinfo.html">Fileinfo</a> — 文件信息</li><li><a href="book.filesystem.html">文件系统</a></li><li><a href="book.inotify.html">Inotify</a></li><li><a href="book.xattr.html">xattr</a></li><li><a href="book.xdiff.html">xdiff</a></li></ul></li><li><a href="refs.international.html">国际化与字符编码支持</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="book.enchant.html">Enchant</a> — Enchant spelling library</li><li><a href="book.gender.html">Gender</a> — Determine gender of firstnames</li><li><a href="book.gettext.html">Gettext</a></li><li><a href="book.iconv.html">iconv</a></li><li><a href="book.intl.html">intl</a> — Internationalization Functions</li><li><a href="book.mbstring.html">多字节字符串</a></li><li><a href="book.pspell.html">Pspell</a></li><li><a href="book.recode.html">Recode</a> — GNU Recode</li></ul></li><li><a href="refs.utilspec.image.html">图像生成和处理</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="book.exif.html">Exif</a> — 可交换图像信息</li><li><a href="book.image.html">GD</a> — 图像处理和 GD</li><li><a href="book.gmagick.html">Gmagick</a></li><li><a href="book.imagick.html">ImageMagick</a> — 图像处理(ImageMagick)</li></ul></li><li><a href="refs.remote.mail.html">邮件相关扩展</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="book.imap.html">IMAP</a> — IMAP, POP3 和 NNTP</li><li><a href="book.mail.html">Mail</a></li><li><a href="book.mailparse.html">Mailparse</a></li></ul></li><li><a href="refs.math.html">数学扩展</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="book.bc.html">BC Math</a> — BCMath 任意精度数学</li><li><a href="book.gmp.html">GMP</a> — GNU Multiple Precision</li><li><a href="book.math.html">Math</a> — 数学函数</li><li><a href="book.stats.html">Statistics</a></li><li><a href="book.trader.html">Trader</a> — Technical Analysis for Traders</li></ul></li><li><a href="refs.utilspec.nontext.html">非文本内容的 MIME 输出</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="book.fdf.html">FDF</a> — Forms Data Format</li><li><a href="book.gnupg.html">GnuPG</a> — GNU Privacy Guard</li><li><a href="book.wkhtmltox.html">wkhtmltox</a></li><li><a href="book.ps.html">PS</a> — PostScript document creation</li><li><a href="book.rpminfo.html">RpmInfo</a></li><li><a href="book.xlswriter.html">XLSWriter</a></li></ul></li><li><a href="refs.fileprocess.process.html">进程控制扩展</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="book.eio.html">Eio</a></li><li><a href="book.ev.html">Ev</a></li><li><a href="book.expect.html">Expect</a></li><li><a href="book.pcntl.html">PCNTL</a> — 进程控制</li><li><a href="book.posix.html">POSIX</a></li><li><a href="book.exec.html">程序执行</a> — 系统程序执行</li><li><a href="book.parallel.html">parallel</a></li><li><a href="book.pthreads.html">pthreads</a></li><li><a href="book.sem.html">Semaphore</a> — Semaphore, Shared Memory and IPC</li><li><a href="book.shmop.html">Shared Memory</a></li><li><a href="book.sync.html">Sync</a></li></ul></li><li><a href="refs.basic.other.html">其它基本扩展</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="book.geoip.html">GeoIP</a> — Geo IP 定位</li><li><a href="book.fann.html">FANN</a> — FANN (快速人工神经网络)</li><li><a href="book.igbinary.html">Igbinary</a></li><li><a href="book.json.html">JSON</a> — JavaScript 对象表示法（JSON）</li><li><a href="book.simdjson.html">Simdjson</a></li><li><a href="book.lua.html">Lua</a></li><li><a href="book.luasandbox.html">LuaSandbox</a></li><li><a href="book.misc.html">Misc.</a> — 杂项函数</li><li><a href="book.random.html">Random</a> — 随机数生成器和相关随机函数</li><li><a href="book.seaslog.html">SeasLog</a></li><li><a href="book.spl.html">SPL</a> — PHP 标准库（SPL）</li><li><a href="book.stream.html">Stream</a></li><li><a href="book.swoole.html">Swoole</a></li><li><a href="book.tidy.html">Tidy</a></li><li><a href="book.tokenizer.html">Tokenizer</a></li><li><a href="book.url.html">URL</a></li><li><a href="book.v8js.html">V8js</a> — V8 Javascript Engine Integration</li><li><a href="book.yaml.html">Yaml</a> — YAML 数据序列化</li><li><a href="book.yaf.html">Yaf</a> — Yet Another Framework</li><li><a href="book.yaconf.html">Yaconf</a></li><li><a href="book.taint.html">Taint</a></li><li><a href="book.ds.html">Data Structures</a></li><li><a href="book.var_representation.html">var_representation</a></li></ul></li><li><a href="refs.remote.other.html">其它服务</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="book.curl.html">cURL</a> — Client URL 库</li><li><a href="book.event.html">Event</a></li><li><a href="book.ftp.html">FTP</a></li><li><a href="book.gearman.html">Gearman</a></li><li><a href="book.ldap.html">LDAP</a> — Lightweight Directory Access Protocol</li><li><a href="book.memcache.html">Memcache</a></li><li><a href="book.memcached.html">Memcached</a></li><li><a href="book.mqseries.html">mqseries</a></li><li><a href="book.network.html">网络</a></li><li><a href="book.rrd.html">RRD</a> — RRDtool</li><li><a href="book.scoutapm.html">ScoutAPM</a></li><li><a href="book.snmp.html">SNMP</a></li><li><a href="book.sockets.html">Socket</a></li><li><a href="book.ssh2.html">SSH2</a> — Secure Shell2</li><li><a href="book.stomp.html">Stomp</a> — Stomp Client</li><li><a href="book.svm.html">SVM</a> — 支持向量机</li><li><a href="book.svn.html">SVN</a> — Subversion</li><li><a href="book.tcpwrap.html">TCP</a> — TCP Wrappers</li><li><a href="book.varnish.html">Varnish</a></li><li><a href="book.yaz.html">YAZ</a></li><li><a href="book.zmq.html">0MQ消息系统</a> — ZMQ</li><li><a href="book.zookeeper.html">ZooKeeper</a></li></ul></li><li><a href="refs.search.html">搜索引擎扩展</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="book.solr.html">Solr</a> — Apache Solr</li></ul></li><li><a href="refs.utilspec.server.html">针对服务器的扩展</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="book.apache.html">Apache</a></li><li><a href="book.fpm.html">FastCGI 进程管理器</a></li></ul></li><li><a href="refs.basic.session.html">Session 扩展</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="book.session.html">Sessions</a> — Session Handling</li></ul></li><li><a href="refs.basic.text.html">文本处理</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="book.cmark.html">CommonMark</a></li><li><a href="book.parle.html">Parle</a> — Parsing and lexing</li><li><a href="book.pcre.html">PCRE</a> — 正则表达式(兼容 Perl)</li><li><a href="book.ssdeep.html">ssdeep</a> — ssdeep Fuzzy Hashing</li><li><a href="book.strings.html">字符串</a></li></ul></li><li><a href="refs.basic.vartype.html">变量与类型相关扩展</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="book.array.html">数组</a></li><li><a href="book.classobj.html">类/对象</a> — 类/对象的信息</li><li><a href="book.ctype.html">Ctype</a> — 字符类型检测</li><li><a href="book.filter.html">Filter</a> — Data Filtering</li><li><a href="book.funchand.html">函数处理</a></li><li><a href="book.quickhash.html">Quickhash</a></li><li><a href="book.reflection.html">反射</a></li><li><a href="book.var.html">变量处理</a></li></ul></li><li><a href="refs.webservice.html">Web 服务</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="book.oauth.html">OAuth</a></li><li><a href="book.soap.html">SOAP</a></li><li><a href="book.yar.html">Yar</a> — Yet Another RPC Framework</li><li><a href="book.xmlrpc.html">XML-RPC</a></li></ul></li><li><a href="refs.utilspec.windows.html">Windows 专用扩展</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="book.com.html">COM</a> — COM 和 .Net（Windows）</li><li><a href="book.win32service.html">win32service</a></li></ul></li><li><a href="refs.xml.html">XML 操作</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="book.dom.html">DOM</a> — Document Object Model</li><li><a href="book.libxml.html">libxml</a></li><li><a href="book.simplexml.html">SimpleXML</a></li><li><a href="book.wddx.html">WDDX</a></li><li><a href="book.xmldiff.html">XMLDiff</a> — XML diff and merge</li><li><a href="book.xml.html">XML 解析器</a></li><li><a href="book.xmlreader.html">XMLReader</a></li><li><a href="book.xmlwriter.html">XMLWriter</a></li><li><a href="book.xsl.html">XSL</a></li></ul></li><li><a href="refs.ui.html">图形用户界面(GUI) 扩展</a><ul class="chunklist chunklist_set chunklist_children"><li><a href="book.ui.html">UI</a></li></ul></li></ul></div></div></div></body></html>